{% extends "base.html" %}
{% load promgen %}

{% block content %}

<div class="page-header" v-pre>
  <h1>Farm: {{ farm.name }} ({{ farm.source }})</h1>
</div>

{% breadcrumb farm view.button_label %}

<div class="panel panel-default" v-pre>
  <form action="" method="post">{% csrf_token %}
    <table class="table">
      {{ form.as_table }}
    </table>
    <div class="panel-footer">
      <button class="btn btn-primary">{{ view.button_label }}</button>
    </div>
  </form>
</div>
{% endblock %}
